package com.cskaoyan.service;

import com.cskaoyan.bean.basebean.BasePageData;
import com.cskaoyan.bean.basebean.BaseParam;
import com.cskaoyan.bean.user.Address;
import com.cskaoyan.exception.AddressException;

/**
 * @author lxy
 * @create 2021-10-21 11:24
 */
public interface AddressService {

    Address detailAddress(Integer id);

    void updateAddress(Address address) throws AddressException;

    void createAddress(Address address);

    BasePageData queryAddressInWx(BaseParam baseParam);

    void deleteAddress(Integer id) throws AddressException;
}
